'use strict';
const db=uniCloud.database()
exports.main = async (event, context) => {
	let {author,name,contain,category,tags,img,grade} = event;
	
	let res = await db.collection("novel_show").add({
		author,name,contain,category,tags,img,grade
	});
	return res;
};

					